root { 
    display: block;
}

body,html {height:100%}

body {
    background: url(../img/bg.png) #919191 top left repeat-x;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.7em;
    margin: 0px;
    padding: 0px;
    top: 0px;
}

div {
    /*border: 1px #f0f0f0 solid;*/
    background-color:inherit;
}

#wrap {
    background: url(../img/bg_header.png) transparent top left repeat-x;
    width: 100%;
    height: 100%;
    margin:0px;
}


#header {
    width: 100%;
    margin: 0 auto;
    display: block;
    background: none;
}

    #logo {
        margin: 0 0 10px 10px;
        padding: 5px 0 0 20px;
        width: 200px;
        background: url(../img/bg_logo.png) transparent top left no-repeat;
        float: left;
    }
        
    #auth {
        float: right;
        margin: 35px 15px 0px 0px;
    }
        #auth div {
            float: right;
            margin-right: 5px;
        }
        .option_menu {
            width: 45px;
            height: 45px;
            background: url(../img/bgOptionMenu.png) transparent center left repeat-x;
            -moz-border-radius: 5px;
            -webkit-border-radius: 5px;
            vertical-align: bottom;
            text-align: center;
            text-transform: uppercase;
            font-weight: bold;
            font-size: 1.5em;
            line-height: 55px;
            color: #FFF;
        }
        #module {
            width: 155px;
            font-weight: bold;
            text-transform: uppercase;
            padding-top: 10px;
            color: #888;
        }
        #user{
            width: 170px;
            height: 45px;
            background: url(../img/bg_user.png) transparent top left repeat-x;
            border: 1px solid #ccc;
            -moz-border-radius: 2px;
            -webkit-border-radius: 2px;
            vertical-align: middle;
        }
            #name {
                text-align: center;
                font-size: 1.0em;
                font-weight: bold;
                color: #322176;
            }
            #place {
                font-size: 1.0em;
                font-weight: bold;
                color: #4d4948;
            }
            #logout {
                background: url(../img/logout.png) transparent center left no-repeat;
                text-transform: uppercase;
                font-size:1.0em;
                font-weight: bold;
            }
                #logout a{
                    display: block;
                    padding: 1px 5px;
                    text-decoration: none;
                    color: #4d4948;
                }


    #menu {
        float: left;
        clear: left;
        display: block;
        margin-bottom: 5px;
        text-transform: uppercase;
    }

        #menu ul {
            margin: 0;
            list-style: none;
        }

        #menu li {
            display: block;
            float: left;
            white-space: nowrap;
            margin-left: 5px;
        }

        #menu li a {
            display: block;
            padding: 1px 5px;
            text-decoration: none;
            color: #231f1d;
            font-weight: bold;
            background: #96aebe;
            -moz-border-radius: 5px;
            -webkit-border-radius: 5px;
            border: 3px #96aebe solid;
        }

        #menu li a#current  {
            color: #28166f;
            background: #fff;
            border: 3px #b2cad7 solid;

        }

        #menu li a:hover  {
            color: #b2cad7;
            background: #fff;
            border: 3px #b2cad7 solid;

        }

#content {
    width: 96%;
    /*height: 100%;*/
    min-height: 500px;
    display: block;
    margin: 0 auto;
    padding: 5px;
    clear: both;
    background: #fff;
    -moz-border-radius-topright: 10px;
    -moz-border-radius-topleft: 10px;
    -webkit-border-top-right-radius: 10px;
    -webkit-border-top-left-radius: 10px;
    border:3px solid #b2cad7 ;
    border-bottom:0px;
}

    #breadcumbs {
        float: left;
        clear: left;
        margin-bottom: 5px;
        text-transform: uppercase;
        font-weight: bold;
        font-size: 0.85em;
        color: #e98227;
    }
    
        #breadcumbs a {
            padding: 1px 5px;
            text-decoration: none;
            color: #343434;
        }

    #right {
        float: right;
        clear: right;
        width: 17%;
        /*height: 100%;*/
        min-height: 205px;
        max-width: 18em;
        background-color: #b4cad6;
    }
        #right h3{
            margin-top: 0px;
            padding: 2px 0px 2px 10px;
            background: #9dcbdb;
            text-transform: uppercase;
            color: #4d4948;
        }
        #right img {
            float: left;
            padding: -4px;
            border: none;
            text-decoration: none;
        }
        #right ul {
            float: left;
            clear: both;
            margin: 0;
            padding: 0;
            list-style: none;
        }

        #right li {
            display: block;
            float: left;
            clear:left;
        }

        #right li a {
            display: block;
            padding: 2px 5px 2px 10px;
            text-decoration: none;
            text-transform: uppercase;
            font-weight: bold;
            vertical-align: middle;
            color: #3a2d7c;
        }

        #right li a#current_opc, #right li a:hover  {
            width: 172px;
            margin-left: -10px;
            padding-left: 20px;
            color: #3a2d7c;
            background: #eff3f6;
        }


    #left {
        float: left;
        clear: left;
        padding-left:30px;
        padding-top:30px;
        width:80%;
        /*height: 100%;*/
        min-height: 450px;
        background-color: #f0f3f6;
    }

#footer {
    width: 96%;
    height: 35px;
    background: #b2cad7;
    padding-left: 10px;
    margin: 0 auto;
    clear: both;
    border:3px solid #b2cad7 ;
    border-top: 0px;
}

    #footer_text {
        padding: 3px 0 3px 0;
        line-height:0.9em;
        font-size: 1.0em;
        /*font-weight: bold;*/
    }

    #footer_effect {
        height: 10px;
        padding: 0px;
        margin: 0px;
        background: url(../img/footer_effect.png) #f0f3f6 top left no-repeat;
        text-align: right;
        text-transform: capitalize;
        vertical-align: bottom;
        line-height: 20px;
        font-size: 1.0em;
        /*font-weight: bold;*/
    }

    #footer_down {
        height:100%;
        padding: 0px;
        margin: 0px;
        background: #b2cad7;
        font-size: 0.7em;
    }